projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e73d8
)
(thumbs-file-alist): Avoid creating duplicate entries.
author
Nick Roberts
<nickrob@snap.net.nz>
Mon, 23 Jan 2006 01:09:26 +0000
(
01:09
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Mon, 23 Jan 2006 01:09:26 +0000
(
01:09
+0000)
lisp/thumbs.el
patch
|
blob
|
history
diff --git
a/lisp/thumbs.el
b/lisp/thumbs.el
index df37e50c99c49ff9a23c3c2fcd9a70053c6c3f84..a33d30ae58e3c899aa67b4588ecaf664b6e15766 100644
(file)
--- a/
lisp/thumbs.el
+++ b/
lisp/thumbs.el
@@
-498,10
+498,11
@@
Open another window."
(let (list)
(goto-char (point-min))
(while (not (eobp))
- (if (thumbs-current-image)
- (push (cons (point-marker)
- (thumbs-current-image))
- list))
+ (unless (= 0 (mod (point) (1+ thumbs-per-line)))
+ (if (thumbs-current-image)
+ (push (cons (point-marker)
+ (thumbs-current-image))
+ list)))
(forward-char 1))
(nreverse list)))))